﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TestProject1.MainClasses
{
    public class OptionalInf
    {
        int i_opt=0;
        string name="";
        string inf="";
        Tickets i_ticket=null;

        public int GetID() { return this.i_opt; }
        public string GetName() { return this.name; }
        public string GetInf() { return this.inf; }

        public void SetID(int id) { this.i_opt = id; }
        public void SetName(string st){this.name=st;}
        public void SetInf(string infa) { this.inf = infa; }
        public OptionalInf add(int i, string s, string s1) {
            this.SetID(i);
            this.SetName(s);
            this.SetInf(s1);
            return this;
        }
        
        public OptionalInf edit(int i, string s, string s1) {
            this.SetID(i);
            this.SetName(s);
            this.SetInf(s1);
            return this;
        }
        void del() { }
        void selectInfForTicket() { }


    }
}